<% content_for :thredded_page_title,
               safe_join([t('thredded.nav.moderation'), t('thredded.nav.moderation_history')], ': ') %>
<% content_for :thredded_page_id, 'thredded--moderation-history' %>
<%= render 'nav' %>

<%= thredded_page do %>
  <%= content_tag :section, class: 'thredded--main-section' do %>
    <% if @post_moderation_records.present? %>
      <%= render partial: 'post_moderation_record', collection: @post_moderation_records %>
      <%= paginate @post_moderation_records %>
    <% end %>
  <% end %>
<% end %>
